import Request from "./../../core";

export const getLoginBusinessList = (data = {}) => {
  return Request.post(`/uaa/admin/getLoginBusinessList`, data, {
    isLoading: true,
  });
};
export const login = (data) => {
  return Request.post(`/uaa/admin/login`, data, {
    isLoading: true,
  });
};

export const H5login = (data) => {
  return Request.post("/uaa/wxapp/login", data, {
    isLoading: false,
    callbackOptions: {
      // 请求返回选项
      all: true, // 返回全部
      errorAll: true, // 失败返回全部
    },
  });
};
export default { getLoginBusinessList };
